import requests

with open('announce.html', 'rb') as f:
    content = f.read().decode('utf-8')

s = requests.session()
r = s.post('http://47.111.13.38/api/announces', json={
    'content': content
}).text
print(r)

